package com.lsa.southwind.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lsa.southwind.entity.Dormitory;
import org.apache.ibatis.annotations.Param;


public interface DormitoryMapper extends BaseMapper<Dormitory> {
    public void subAvailable(Integer id);

    public void addAvailable(Integer id);

    public Integer findAvailableDormitoryId(Integer id);

    public Integer selectAvailableDormitoryId(@Param("id") Integer id, @Param("buildingId") Integer buildingId);


}
